{% extends 'base_my_blog.html' %}
{% load crispy_forms_tags %}
{% block title %}
修改文章
{% endblock %}
{% block content %}
    <div class="container-fluid">
        <div class="row">
            <div class="col-md-8 m-auto">
                <div class="card bg-secondary">
        {% if message %}
        <div class="alert alert-warning">
            {{ message }}
        </div>
        {% endif %}
        <div class="card-body">
        <form action="." method="POST">
            {% csrf_token %}
            {{ form|crispy }}
            <button type="submit" class="btn btn-primary mt-2 btn-lg">提交</button>
        </form>
        </div>
        </div>
        </div>
        </div>
    </div>
{% endblock %}